<?php

/*
 * This file will be used for the jQuery in transferring the id to its view page.
 * 
 * Created by: Peter Agno Jr.
 * Date created: November 18, 2011
 * 
 * In parameters: none
 * Out parameters: none
 */
?>

    // START - JQUERY FOR TRANSFERRING TO VIEW PAGE OF THE ACCOUNT
    jQuery('.hLinkViewPage').live("click",function() {
       buttonId = this.id;

       // SET THE FORM THAT IT WILL BE SUBMITTED TO
       tempSubstr = buttonId.split('__');

        // Set the Account ID
        jQuery("#passedId").val(tempSubstr[1]);

        // SUBMIT THE FORM
        jQuery("#viewPageForm").submit();
    }); // END - JQUERY FOR TRANSFERRING TO VIEW PAGE OF THE ACCOUNT
